<template>
    <div>
        <input type="text" v-model="a">
        <list :books='books'>
            <template slot="book" slot-scope="a">
                <li>{{a.bookName}}</li>
            </template>
        </list>
    </div>
</template>

<script>
import Vue from "vue"
import List from "./Test1"
export default {
    data(){
        return{
            a:55,
            books:[
                {name:1},
                {name:2},
                {name:3},
                {name:4}
            ]
        }
    },
    components:{
        List
    },
    computed:{
        test(){
            return this.a+3
        }
    },
    mounted(){
        this.test = 11
        console.log(this.__proto__)
        console.log(Vue)
    }
};
</script>

<style scoped lang="less">

</style>
